.class Lcom/openfeint/internal/OpenFeintInternal$9$1;
.super Ljava/lang/Object;
.source "OpenFeintInternal.java"

# interfaces
.implements Lcom/openfeint/internal/request/IRawRequestDelegate;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/openfeint/internal/OpenFeintInternal$9;->onSuccess(Ljava/lang/Object;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/openfeint/internal/OpenFeintInternal$9;

.field private final synthetic val$delegate:Lcom/openfeint/internal/OpenFeintInternal$IUploadDelegate;

.field private final synthetic val$params:Lcom/openfeint/internal/resource/BlobUploadParameters;


# direct methods
.method constructor <init>(Lcom/openfeint/internal/OpenFeintInternal$9;Lcom/openfeint/internal/OpenFeintInternal$IUploadDelegate;Lcom/openfeint/internal/resource/BlobUploadParameters;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/openfeint/internal/OpenFeintInternal$9$1;->this$1:Lcom/openfeint/internal/OpenFeintInternal$9;

    iput-object p2, p0, Lcom/openfeint/internal/OpenFeintInternal$9$1;->val$delegate:Lcom/openfeint/internal/OpenFeintInternal$IUploadDelegate;

    iput-object p3, p0, Lcom/openfeint/internal/OpenFeintInternal$9$1;->val$params:Lcom/openfeint/internal/resource/BlobUploadParameters;

    .line 719
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onResponse(ILjava/lang/String;)V
    .locals 3
    .parameter "responseCode"
    .parameter "responseBody"

    .prologue
    .line 721
    iget-object v0, p0, Lcom/openfeint/internal/OpenFeintInternal$9$1;->val$delegate:Lcom/openfeint/internal/OpenFeintInternal$IUploadDelegate;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/openfeint/internal/OpenFeintInternal$9$1;->val$params:Lcom/openfeint/internal/resource/BlobUploadParameters;

    iget-object v2, v2, Lcom/openfeint/internal/resource/BlobUploadParameters;->action:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/openfeint/internal/OpenFeintInternal$9$1;->val$params:Lcom/openfeint/internal/resource/BlobUploadParameters;

    iget-object v2, v2, Lcom/openfeint/internal/resource/BlobUploadParameters;->key:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/16 v2, 0xc8

    if-gt v2, p1, :cond_0

    const/16 v2, 0x12c

    if-ge p1, v2, :cond_0

    const/4 v2, 0x1

    :goto_0
    invoke-interface {v0, v1, v2}, Lcom/openfeint/internal/OpenFeintInternal$IUploadDelegate;->fileUploadedTo(Ljava/lang/String;Z)V

    .line 722
    return-void

    .line 721
    :cond_0
    const/4 v2, 0x0

    goto :goto_0
.end method
